#include <stdio.h>
int main(int argc, char const *argv[])
{
    char ch;
    printf("请输入一个字符>:");
    scanf("%c",&ch);
    printf("ch=%c\n",ch);

    char str[100]={0};
    printf("请输入一个字符串>:");
    scanf("%s",&str);
    printf("str=%s\n",str);

    return 0;
}
